/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.zx.examination.barbecue.record.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.zx.examination.barbecue.record.entity.TexaminationBarbecueRecord;
import com.jeesite.modules.zx.examination.barbecue.record.dao.TexaminationBarbecueRecordDao;

/**
 * 理论考试记录Service
 * @author zpp
 * @version 2020-02-12
 */
@Service
@Transactional(readOnly=true)
public class TexaminationBarbecueRecordService extends CrudService<TexaminationBarbecueRecordDao, TexaminationBarbecueRecord> {
	
	/**
	 * 获取单条数据
	 * @param texaminationBarbecueRecord
	 * @return
	 */
	@Override
	public TexaminationBarbecueRecord get(TexaminationBarbecueRecord texaminationBarbecueRecord) {
		return super.get(texaminationBarbecueRecord);
	}
	
	/**
	 * 查询分页数据
	 * @param texaminationBarbecueRecord 查询条件
	 * @param texaminationBarbecueRecord.page 分页对象
	 * @return
	 */
	@Override
	public Page<TexaminationBarbecueRecord> findPage(TexaminationBarbecueRecord texaminationBarbecueRecord) {
		return super.findPage(texaminationBarbecueRecord);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param texaminationBarbecueRecord
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(TexaminationBarbecueRecord texaminationBarbecueRecord) {
		super.save(texaminationBarbecueRecord);
	}
	
	/**
	 * 更新状态
	 * @param texaminationBarbecueRecord
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(TexaminationBarbecueRecord texaminationBarbecueRecord) {
		super.updateStatus(texaminationBarbecueRecord);
	}
	
	/**
	 * 删除数据
	 * @param texaminationBarbecueRecord
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(TexaminationBarbecueRecord texaminationBarbecueRecord) {
		super.delete(texaminationBarbecueRecord);
	}
	
}